From 1c30ae33abea9fa76bab37be3c0b7b46f4352d78 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 12 Oct 2006 12:11:33 +0000 Subject: [PATCH] (auto-mode-alist): Match change log file name also with a dash before a numeric extension. --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index 1589e2c5998..556c5e680b7 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1906,7 +1906,7 @@ in that case, this function acts as if `enable-local-variables' were t." ("\\.[sS]\\'" . asm-mode) ("\\.asm\\'" . asm-mode) ("[cC]hange\\.?[lL]og?\\'" . change-log-mode) - ("[cC]hange[lL]og\\.[0-9]+\\'" . change-log-mode) + ("[cC]hange[lL]og[-.][0-9]+\\'" . change-log-mode) ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode) ("\\.scm\\.[0-9]*\\'" . scheme-mode) ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode) -- 2.30.2